package cn.wolfcode.mapper;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.util.QueryObject;

import java.util.List;

public interface PermissionMapper {
    void deleteByPrimaryKey(Long id);

    void insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    void updateByPrimaryKey(Permission record);

    List<Permission> queryForList(QueryObject qo);

    List<Permission> selectByRoleId(Long id);

    List<String> selectByEmpId(Long id);
}